<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.17"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>QuEST: Qureg Struct Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="style.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand"><img alt="Logo" src="logo.png"/></a>
                    <a class="navbar-brand"><b>QuEST</b> v3.2.0<br>The Quantum Exact Simulation Toolkit</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">Qureg Struct Reference<div class="ingroups"><a class="el" href="group__type.html">Data structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a system of qubits.  
 <a href="structQureg.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="QuEST_8h_source.html">QuEST.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ac2929e681d3d95591c18cf168dbbe4f0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#ac2929e681d3d95591c18cf168dbbe4f0">chunkId</a></td></tr>
<tr class="memdesc:ac2929e681d3d95591c18cf168dbbe4f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The position of the chunk of the state vector held by this process in the full state vector.  <a href="structQureg.html#ac2929e681d3d95591c18cf168dbbe4f0">More...</a><br /></td></tr>
<tr class="separator:ac2929e681d3d95591c18cf168dbbe4f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac181d7b3b94fff179dc74d7935ecd9e1"><td class="memItemLeft" align="right" valign="top">ComplexArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#ac181d7b3b94fff179dc74d7935ecd9e1">deviceStateVec</a></td></tr>
<tr class="memdesc:ac181d7b3b94fff179dc74d7935ecd9e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Storage for wavefunction amplitudes in the GPU version.  <a href="structQureg.html#ac181d7b3b94fff179dc74d7935ecd9e1">More...</a><br /></td></tr>
<tr class="separator:ac181d7b3b94fff179dc74d7935ecd9e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d0007a026a4231b338a5037c4e861b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#a2d0007a026a4231b338a5037c4e861b2">firstLevelReduction</a></td></tr>
<tr class="memdesc:a2d0007a026a4231b338a5037c4e861b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Storage for reduction of probabilities on GPU.  <a href="structQureg.html#a2d0007a026a4231b338a5037c4e861b2">More...</a><br /></td></tr>
<tr class="separator:a2d0007a026a4231b338a5037c4e861b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf78445e9435d09f44f0cc832c6aee79"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#acf78445e9435d09f44f0cc832c6aee79">isDensityMatrix</a></td></tr>
<tr class="memdesc:acf78445e9435d09f44f0cc832c6aee79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this instance is a density-state representation.  <a href="structQureg.html#acf78445e9435d09f44f0cc832c6aee79">More...</a><br /></td></tr>
<tr class="separator:acf78445e9435d09f44f0cc832c6aee79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0ea0358482b62f43fdd781469607d97"><td class="memItemLeft" align="right" valign="top">long long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#ab0ea0358482b62f43fdd781469607d97">numAmpsPerChunk</a></td></tr>
<tr class="memdesc:ab0ea0358482b62f43fdd781469607d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of probability amplitudes held in stateVec by this process In the non-MPI version, this is the total number of amplitudes.  <a href="structQureg.html#ab0ea0358482b62f43fdd781469607d97">More...</a><br /></td></tr>
<tr class="separator:ab0ea0358482b62f43fdd781469607d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adef4935cac95763c29164cf99b144ed4"><td class="memItemLeft" align="right" valign="top">long long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#adef4935cac95763c29164cf99b144ed4">numAmpsTotal</a></td></tr>
<tr class="memdesc:adef4935cac95763c29164cf99b144ed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Total number of amplitudes, which are possibly distributed among machines.  <a href="structQureg.html#adef4935cac95763c29164cf99b144ed4">More...</a><br /></td></tr>
<tr class="separator:adef4935cac95763c29164cf99b144ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3deb7163aab90a61e755a1f200f5413"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#aa3deb7163aab90a61e755a1f200f5413">numChunks</a></td></tr>
<tr class="memdesc:aa3deb7163aab90a61e755a1f200f5413"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of chunks the state vector is broken up into &ndash; the number of MPI processes used.  <a href="structQureg.html#aa3deb7163aab90a61e755a1f200f5413">More...</a><br /></td></tr>
<tr class="separator:aa3deb7163aab90a61e755a1f200f5413"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a86e8a50ea8c998b4a0a6640c5a1218"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#a0a86e8a50ea8c998b4a0a6640c5a1218">numQubitsInStateVec</a></td></tr>
<tr class="memdesc:a0a86e8a50ea8c998b4a0a6640c5a1218"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of qubits in the state-vector - this is double the number represented for mixed states.  <a href="structQureg.html#a0a86e8a50ea8c998b4a0a6640c5a1218">More...</a><br /></td></tr>
<tr class="separator:a0a86e8a50ea8c998b4a0a6640c5a1218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad08dff5316b8937f4b2a1417591543dc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#ad08dff5316b8937f4b2a1417591543dc">numQubitsRepresented</a></td></tr>
<tr class="memdesc:ad08dff5316b8937f4b2a1417591543dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of qubits represented in either the state-vector or density matrix.  <a href="structQureg.html#ad08dff5316b8937f4b2a1417591543dc">More...</a><br /></td></tr>
<tr class="separator:ad08dff5316b8937f4b2a1417591543dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba97773694870ef35e378c036f486bb7"><td class="memItemLeft" align="right" valign="top">ComplexArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#aba97773694870ef35e378c036f486bb7">pairStateVec</a></td></tr>
<tr class="memdesc:aba97773694870ef35e378c036f486bb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Temporary storage for a chunk of the state vector received from another process in the MPI version.  <a href="structQureg.html#aba97773694870ef35e378c036f486bb7">More...</a><br /></td></tr>
<tr class="separator:aba97773694870ef35e378c036f486bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b7912365d7ad8ff9b986fcad0c6ca3a"><td class="memItemLeft" align="right" valign="top">QASMLogger *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#a6b7912365d7ad8ff9b986fcad0c6ca3a">qasmLog</a></td></tr>
<tr class="memdesc:a6b7912365d7ad8ff9b986fcad0c6ca3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Storage for generated QASM output.  <a href="structQureg.html#a6b7912365d7ad8ff9b986fcad0c6ca3a">More...</a><br /></td></tr>
<tr class="separator:a6b7912365d7ad8ff9b986fcad0c6ca3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bb9f7517470a0cc406951935f37b64f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#a8bb9f7517470a0cc406951935f37b64f">secondLevelReduction</a></td></tr>
<tr class="separator:a8bb9f7517470a0cc406951935f37b64f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a441e4cacef6bd17adb9813c7442d42fe"><td class="memItemLeft" align="right" valign="top">ComplexArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQureg.html#a441e4cacef6bd17adb9813c7442d42fe">stateVec</a></td></tr>
<tr class="memdesc:a441e4cacef6bd17adb9813c7442d42fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computational state amplitudes - a subset thereof in the MPI version.  <a href="structQureg.html#a441e4cacef6bd17adb9813c7442d42fe">More...</a><br /></td></tr>
<tr class="separator:a441e4cacef6bd17adb9813c7442d42fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a system of qubits. </p>
<p>Qubits are zero-based</p>
<dl class="section author"><dt>Author</dt><dd>Ania Brown </dd>
<dd>
Tyson Jones (density matrix) </dd></dl>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00203">203</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ac2929e681d3d95591c18cf168dbbe4f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2929e681d3d95591c18cf168dbbe4f0">&#9670;&nbsp;</a></span>chunkId</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Qureg::chunkId</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The position of the chunk of the state vector held by this process in the full state vector. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00217">217</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="utilities_8cpp_source.html#l00728">areEqual()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00543">compressPairVectorForSingleQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00610">compressPairVectorForTwoQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01482">copyDiagOpIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00371">copyVecIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03781">densmatr_calcExpecDiagonalOpLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00990">densmatr_calcFidelityLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00053">densmatr_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00785">densmatr_collapseToKnownProbOutcome()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03151">densmatr_findProbabilityOfZeroLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01115">densmatr_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01184">densmatr_initPureStateLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00725">densmatr_mixDamping()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00300">densmatr_mixDampingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00174">densmatr_mixDampingLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00698">densmatr_mixDepolarising()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00224">densmatr_mixDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00125">densmatr_mixDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00084">densmatr_mixTwoQubitDephasing()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00752">densmatr_mixTwoQubitDepolarising()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00541">densmatr_mixTwoQubitDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00387">densmatr_mixTwoQubitDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00488">densmatr_mixTwoQubitDepolarisingLocalPart1()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00632">densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00048">densmatr_oneQubitDegradeOffDiagonal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01335">getGlobalIndOfOddParityInChunk()</a>, <a class="el" href="QuEST__common_8c_source.html#l00234">reportQuregParams()</a>, <a class="el" href="QuEST__common_8c_source.html#l00216">reportState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01260">statevec_calcProbOfOutcome()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01298">statevec_collapseToKnownProbOutcome()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00844">statevec_compactUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00920">statevec_controlledCompactUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02319">statevec_controlledCompactUnitaryDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02101">statevec_controlledCompactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01061">statevec_controlledNot()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02646">statevec_controlledNotDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02584">statevec_controlledNotLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01140">statevec_controlledPauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01173">statevec_controlledPauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02830">statevec_controlledPauliYDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02776">statevec_controlledPauliYLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03300">statevec_controlledPhaseFlip()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03019">statevec_controlledPhaseShift()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00958">statevec_controlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02381">statevec_controlledUnitaryDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02241">statevec_controlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00208">statevec_getImagAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00198">statevec_getRealAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01206">statevec_hadamard()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01470">statevec_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01591">statevec_initDebugState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01625">statevec_initStateFromSingleFile()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01545">statevec_initStateOfSingleQubit()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01428">statevec_initZeroState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01846">statevec_multiControlledMultiQubitUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03331">statevec_multiControlledPhaseFlip()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03059">statevec_multiControlledPhaseShift()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01747">statevec_multiControlledTwoQubitUnitaryLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00997">statevec_multiControlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02447">statevec_multiControlledUnitaryDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02173">statevec_multiControlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03109">statevec_multiRotateZ()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01034">statevec_pauliX()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01090">statevec_pauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01115">statevec_pauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02978">statevec_phaseShiftByTerm()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01366">statevec_reportStateToScreen()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01237">statevec_setAmps()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03579">statevec_swapQubitAmpsDistributed()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00881">statevec_unitary()</a>, and <a class="el" href="utilities_8cpp_source.html#l01026">toQureg()</a>.</p>

</div>
</div>
<a id="ac181d7b3b94fff179dc74d7935ecd9e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac181d7b3b94fff179dc74d7935ecd9e1">&#9670;&nbsp;</a></span>deviceStateVec</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ComplexArray Qureg::deviceStateVec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Storage for wavefunction amplitudes in the GPU version. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00227">227</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST__gpu_8cu_source.html#l00461">copyStateFromGPU()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00451">copyStateToGPU()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02947">densmatr_applyDiagonalOpKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l03142">densmatr_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02211">densmatr_calcFidelityKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02323">densmatr_calcHilbertSchmidtDistance()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02022">densmatr_calcInnerProductKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02394">densmatr_calcPurity()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02535">densmatr_collapseToKnownProbOutcome()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01815">densmatr_findProbabilityOfZeroKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00258">densmatr_initClassicalState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00226">densmatr_initPlusState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00205">densmatr_initPureState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02778">densmatr_mixDamping()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02564">densmatr_mixDensityMatrixKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02752">densmatr_mixDepolarising()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02668">densmatr_mixTwoQubitDephasing()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02838">densmatr_mixTwoQubitDepolarising()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02609">densmatr_oneQubitDegradeOffDiagonal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02917">statevec_applyDiagonalOpKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l03006">statevec_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02123">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00170">statevec_cloneQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02443">statevec_collapseToKnownProbOutcomeKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00721">statevec_compactUnitaryKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00784">statevec_controlledCompactUnitaryKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01733">statevec_controlledNotKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01341">statevec_controlledPauliYKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01586">statevec_controlledPhaseFlipKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01434">statevec_controlledPhaseShiftKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01111">statevec_controlledUnitaryKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00275">statevec_createQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00321">statevec_destroyQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01853">statevec_findProbabilityOfZeroKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00508">statevec_getImagAmp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00501">statevec_getRealAmp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01676">statevec_hadamardKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00525">statevec_initBlankState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00600">statevec_initClassicalState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00621">statevec_initDebugState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00574">statevec_initPlusState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00650">statevec_initStateOfSingleQubit()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00552">statevec_initZeroState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00912">statevec_multiControlledMultiQubitUnitaryKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01615">statevec_multiControlledPhaseFlipKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01470">statevec_multiControlledPhaseShiftKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01028">statevec_multiControlledTwoQubitUnitaryKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01177">statevec_multiControlledUnitaryKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01503">statevec_multiRotateZKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01248">statevec_pauliXKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01300">statevec_pauliYKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01395">statevec_phaseShiftByTermKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00153">statevec_setAmps()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02873">statevec_setWeightedQuregKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01642">statevec_swapQubitAmpsKernel()</a>, and <a class="el" href="QuEST__gpu_8cu_source.html#l00851">statevec_unitaryKernel()</a>.</p>

</div>
</div>
<a id="a2d0007a026a4231b338a5037c4e861b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d0007a026a4231b338a5037c4e861b2">&#9670;&nbsp;</a></span>firstLevelReduction</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a>* Qureg::firstLevelReduction</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Storage for reduction of probabilities on GPU. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00229">229</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST__gpu_8cu_source.html#l03142">densmatr_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02249">densmatr_calcFidelity()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02323">densmatr_calcHilbertSchmidtDistance()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02043">densmatr_calcInnerProduct()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02394">densmatr_calcPurity()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01919">densmatr_findProbabilityOfZero()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l03006">statevec_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02123">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00275">statevec_createQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00321">statevec_destroyQureg()</a>, and <a class="el" href="QuEST__gpu_8cu_source.html#l01967">statevec_findProbabilityOfZero()</a>.</p>

</div>
</div>
<a id="acf78445e9435d09f44f0cc832c6aee79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf78445e9435d09f44f0cc832c6aee79">&#9670;&nbsp;</a></span>isDensityMatrix</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Qureg::isDensityMatrix</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether this instance is a density-state representation. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00206">206</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST_8c_source.html#l00887">applyDiagonalOp()</a>, <a class="el" href="QuEST__common_8c_source.html#l00698">applyExponentiatedPauliHamil()</a>, <a class="el" href="utilities_8cpp_source.html#l00701">areEqual()</a>, <a class="el" href="QuEST_8c_source.html#l00979">calcExpecDiagonalOp()</a>, <a class="el" href="QuEST_8c_source.html#l00942">calcFidelity()</a>, <a class="el" href="QuEST_8c_source.html#l00926">calcProbOfOutcome()</a>, <a class="el" href="QuEST_8c_source.html#l00903">calcTotalProb()</a>, <a class="el" href="QuEST_8c_source.html#l00726">collapseToOutcome()</a>, <a class="el" href="QuEST_8c_source.html#l00405">compactUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00418">controlledCompactUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00314">controlledMultiQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00525">controlledNot()</a>, <a class="el" href="QuEST_8c_source.html#l00537">controlledPauliY()</a>, <a class="el" href="QuEST_8c_source.html#l00549">controlledPhaseFlip()</a>, <a class="el" href="QuEST_8c_source.html#l00499">controlledPhaseShift()</a>, <a class="el" href="QuEST_8c_source.html#l00588">controlledRotateAroundAxis()</a>, <a class="el" href="QuEST_8c_source.html#l00221">controlledRotateX()</a>, <a class="el" href="QuEST_8c_source.html#l00233">controlledRotateY()</a>, <a class="el" href="QuEST_8c_source.html#l00245">controlledRotateZ()</a>, <a class="el" href="QuEST_8c_source.html#l00270">controlledTwoQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00361">controlledUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00064">createCloneQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00050">createDensityQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00036">createQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00177">hadamard()</a>, <a class="el" href="QuEST_8c_source.html#l00134">initClassicalState()</a>, <a class="el" href="QuEST_8c_source.html#l00125">initPlusState()</a>, <a class="el" href="QuEST_8c_source.html#l00145">initPureState()</a>, <a class="el" href="QuEST_8c_source.html#l00758">measure()</a>, <a class="el" href="QuEST_8c_source.html#l00745">measureWithStats()</a>, <a class="el" href="QuEST_8c_source.html#l00331">multiControlledMultiQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00561">multiControlledPhaseFlip()</a>, <a class="el" href="QuEST_8c_source.html#l00511">multiControlledPhaseShift()</a>, <a class="el" href="QuEST_8c_source.html#l00283">multiControlledTwoQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00374">multiControlledUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00297">multiQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00642">multiRotatePauli()</a>, <a class="el" href="QuEST_8c_source.html#l00626">multiRotateZ()</a>, <a class="el" href="QuEST_8c_source.html#l00389">multiStateControlledUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00433">pauliX()</a>, <a class="el" href="QuEST_8c_source.html#l00444">pauliY()</a>, <a class="el" href="QuEST_8c_source.html#l00455">pauliZ()</a>, <a class="el" href="QuEST_8c_source.html#l00488">phaseShift()</a>, <a class="el" href="QuEST_8c_source.html#l00575">rotateAroundAxis()</a>, <a class="el" href="QuEST_8c_source.html#l00188">rotateX()</a>, <a class="el" href="QuEST_8c_source.html#l00199">rotateY()</a>, <a class="el" href="QuEST_8c_source.html#l00210">rotateZ()</a>, <a class="el" href="QuEST_8c_source.html#l00466">sGate()</a>, <a class="el" href="QuEST_8c_source.html#l00613">sqrtSwapGate()</a>, <a class="el" href="QuEST__common_8c_source.html#l00465">statevec_calcExpecPauliProd()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00601">swapGate()</a>, <a class="el" href="test__data__structures_8cpp_source.html#l00057">TEST_CASE()</a>, <a class="el" href="QuEST_8c_source.html#l00477">tGate()</a>, <a class="el" href="utilities_8cpp_source.html#l00896">toQMatrix()</a>, <a class="el" href="utilities_8cpp_source.html#l01026">toQureg()</a>, <a class="el" href="utilities_8cpp_source.html#l00938">toQVector()</a>, <a class="el" href="QuEST_8c_source.html#l00257">twoQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00349">unitary()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00483">validateDensityMatrQureg()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00499">validateMatchingQuregTypes()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00503">validateSecondQuregStateVec()</a>, and <a class="el" href="QuEST__validation_8c_source.html#l00479">validateStateVecQureg()</a>.</p>

</div>
</div>
<a id="ab0ea0358482b62f43fdd781469607d97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0ea0358482b62f43fdd781469607d97">&#9670;&nbsp;</a></span>numAmpsPerChunk</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long long int Qureg::numAmpsPerChunk</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of probability amplitudes held in stateVec by this process In the non-MPI version, this is the total number of amplitudes. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00213">213</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="utilities_8cpp_source.html#l00701">areEqual()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00543">compressPairVectorForSingleQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00610">compressPairVectorForTwoQubitDepolarise()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00461">copyStateFromGPU()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00451">copyStateToGPU()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00371">copyVecIntoMatrixPairState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02970">densmatr_applyDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02947">densmatr_applyDiagonalOpKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03696">densmatr_applyDiagonalOpLocal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l03142">densmatr_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03781">densmatr_calcExpecDiagonalOpLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00990">densmatr_calcFidelityLocal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02323">densmatr_calcHilbertSchmidtDistance()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00923">densmatr_calcHilbertSchmidtDistanceSquaredLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00958">densmatr_calcInnerProductLocal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02394">densmatr_calcPurity()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00861">densmatr_calcPurityLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00053">densmatr_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00785">densmatr_collapseToKnownProbOutcome()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03151">densmatr_findProbabilityOfZeroLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01115">densmatr_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01154">densmatr_initPlusState()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00205">densmatr_initPureState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01184">densmatr_initPureStateLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00725">densmatr_mixDamping()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00300">densmatr_mixDampingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00174">densmatr_mixDampingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00890">densmatr_mixDensityMatrix()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00698">densmatr_mixDepolarising()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00224">densmatr_mixDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00125">densmatr_mixDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00084">densmatr_mixTwoQubitDephasing()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00752">densmatr_mixTwoQubitDepolarising()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00541">densmatr_mixTwoQubitDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00387">densmatr_mixTwoQubitDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00488">densmatr_mixTwoQubitDepolarisingLocalPart1()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00632">densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00048">densmatr_oneQubitDegradeOffDiagonal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00509">exchangePairStateVectorHalves()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00479">exchangeStateVectors()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00194">getChunkIdFromIndex()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01335">getGlobalIndOfOddParityInChunk()</a>, <a class="el" href="QuEST__common_8c_source.html#l00216">reportState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03661">statevec_applyDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02917">statevec_applyDiagonalOpKernel()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l03006">statevec_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03738">statevec_calcExpecDiagonalOpLocal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02123">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01071">statevec_calcInnerProductLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01260">statevec_calcProbOfOutcome()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00088">statevec_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01506">statevec_cloneQureg()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01298">statevec_collapseToKnownProbOutcome()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03462">statevec_collapseToKnownProbOutcomeDistributedRenorm()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02443">statevec_collapseToKnownProbOutcomeKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03380">statevec_collapseToKnownProbOutcomeLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03501">statevec_collapseToOutcomeDistributedSetZero()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00844">statevec_compactUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02001">statevec_compactUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00721">statevec_compactUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01688">statevec_compactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01675">statevec_compareStates()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00920">statevec_controlledCompactUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02319">statevec_controlledCompactUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00784">statevec_controlledCompactUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02101">statevec_controlledCompactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01061">statevec_controlledNot()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02646">statevec_controlledNotDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01733">statevec_controlledNotKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02584">statevec_controlledNotLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01140">statevec_controlledPauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01173">statevec_controlledPauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02830">statevec_controlledPauliYDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01341">statevec_controlledPauliYKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02776">statevec_controlledPauliYLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03300">statevec_controlledPhaseFlip()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01586">statevec_controlledPhaseFlipKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03019">statevec_controlledPhaseShift()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01434">statevec_controlledPhaseShiftKernel()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00958">statevec_controlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02381">statevec_controlledUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01111">statevec_controlledUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02241">statevec_controlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01317">statevec_destroyQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01967">statevec_findProbabilityOfZero()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03262">statevec_findProbabilityOfZeroDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01853">statevec_findProbabilityOfZeroKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03206">statevec_findProbabilityOfZeroLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00208">statevec_getImagAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00198">statevec_getRealAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01206">statevec_hadamard()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02932">statevec_hadamardDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01676">statevec_hadamardKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02872">statevec_hadamardLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01398">statevec_initBlankState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01470">statevec_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01591">statevec_initDebugState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01438">statevec_initPlusState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01625">statevec_initStateFromSingleFile()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01545">statevec_initStateOfSingleQubit()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00552">statevec_initZeroState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01437">statevec_multiControlledMultiQubitUnitary()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00912">statevec_multiControlledMultiQubitUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01846">statevec_multiControlledMultiQubitUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03331">statevec_multiControlledPhaseFlip()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01615">statevec_multiControlledPhaseFlipKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03059">statevec_multiControlledPhaseShift()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01470">statevec_multiControlledPhaseShiftKernel()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01381">statevec_multiControlledTwoQubitUnitary()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01028">statevec_multiControlledTwoQubitUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01747">statevec_multiControlledTwoQubitUnitaryLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00997">statevec_multiControlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02447">statevec_multiControlledUnitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01177">statevec_multiControlledUnitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02173">statevec_multiControlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03109">statevec_multiRotateZ()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01503">statevec_multiRotateZKernel()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01034">statevec_pauliX()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02556">statevec_pauliXDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01248">statevec_pauliXKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02498">statevec_pauliXLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01090">statevec_pauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01115">statevec_pauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02739">statevec_pauliYDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01300">statevec_pauliYKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02682">statevec_pauliYLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02978">statevec_phaseShiftByTerm()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01395">statevec_phaseShiftByTermKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01366">statevec_reportStateToScreen()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01237">statevec_setAmps()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03619">statevec_setWeightedQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02873">statevec_setWeightedQuregKernel()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01354">statevec_swapQubitAmps()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03579">statevec_swapQubitAmpsDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01642">statevec_swapQubitAmpsKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03536">statevec_swapQubitAmpsLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00881">statevec_unitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02056">statevec_unitaryDistributed()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00851">statevec_unitaryKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01932">statevec_unitaryLocal()</a>, <a class="el" href="test__data__structures_8cpp_source.html#l00057">TEST_CASE()</a>, <a class="el" href="utilities_8cpp_source.html#l00896">toQMatrix()</a>, <a class="el" href="utilities_8cpp_source.html#l01026">toQureg()</a>, <a class="el" href="utilities_8cpp_source.html#l00938">toQVector()</a>, and <a class="el" href="QuEST__validation_8c_source.html#l00437">validateMultiQubitMatrixFitsInNode()</a>.</p>

</div>
</div>
<a id="adef4935cac95763c29164cf99b144ed4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adef4935cac95763c29164cf99b144ed4">&#9670;&nbsp;</a></span>numAmpsTotal</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long long int Qureg::numAmpsTotal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Total number of amplitudes, which are possibly distributed among machines. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00215">215</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="utilities_8cpp_source.html#l00701">areEqual()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00990">densmatr_calcFidelityLocal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02043">densmatr_calcInnerProduct()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01184">densmatr_initPureStateLocal()</a>, <a class="el" href="QuEST_8c_source.html#l00672">getNumAmps()</a>, <a class="el" href="QuEST_8c_source.html#l00157">initStateFromAmps()</a>, <a class="el" href="QuEST_8c_source.html#l00790">setDensityAmps()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01317">statevec_destroyQureg()</a>, <a class="el" href="test__data__structures_8cpp_source.html#l00057">TEST_CASE()</a>, <a class="el" href="utilities_8cpp_source.html#l00896">toQMatrix()</a>, <a class="el" href="utilities_8cpp_source.html#l01026">toQureg()</a>, <a class="el" href="utilities_8cpp_source.html#l00938">toQVector()</a>, and <a class="el" href="QuEST__validation_8c_source.html#l00351">validateNumAmps()</a>.</p>

</div>
</div>
<a id="aa3deb7163aab90a61e755a1f200f5413"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3deb7163aab90a61e755a1f200f5413">&#9670;&nbsp;</a></span>numChunks</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Qureg::numChunks</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of chunks the state vector is broken up into &ndash; the number of MPI processes used. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00219">219</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01482">copyDiagOpIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00371">copyVecIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01541">densmatr_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00053">densmatr_calcTotalProb()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00452">densmatr_initPureState()</a>, <a class="el" href="QuEST__common_8c_source.html#l00234">reportQuregParams()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01523">statevec_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00035">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00088">statevec_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01438">statevec_initPlusState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01625">statevec_initStateFromSingleFile()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01545">statevec_initStateOfSingleQubit()</a>, and <a class="el" href="QuEST__cpu_8c_source.html#l01366">statevec_reportStateToScreen()</a>.</p>

</div>
</div>
<a id="a0a86e8a50ea8c998b4a0a6640c5a1218"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a86e8a50ea8c998b4a0a6640c5a1218">&#9670;&nbsp;</a></span>numQubitsInStateVec</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Qureg::numQubitsInStateVec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of qubits in the state-vector - this is double the number represented for mixed states. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00210">210</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST_8c_source.html#l00064">createCloneQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00050">createDensityQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00036">createQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00447">getEnvironmentString()</a>, <a class="el" href="QuEST__common_8c_source.html#l00234">reportQuregParams()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01317">statevec_destroyQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01390">statevec_getEnvironmentString()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01366">statevec_reportStateToScreen()</a>, and <a class="el" href="test__data__structures_8cpp_source.html#l00057">TEST_CASE()</a>.</p>

</div>
</div>
<a id="ad08dff5316b8937f4b2a1417591543dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad08dff5316b8937f4b2a1417591543dc">&#9670;&nbsp;</a></span>numQubitsRepresented</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Qureg::numQubitsRepresented</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of qubits represented in either the state-vector or density matrix. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00208">208</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST_8c_source.html#l00808">applyPauliSum()</a>, <a class="el" href="QuEST_8c_source.html#l00961">calcExpecPauliSum()</a>, <a class="el" href="QuEST_8c_source.html#l00405">compactUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00543">compressPairVectorForSingleQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00610">compressPairVectorForTwoQubitDepolarise()</a>, <a class="el" href="QuEST_8c_source.html#l00418">controlledCompactUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00314">controlledMultiQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00525">controlledNot()</a>, <a class="el" href="QuEST_8c_source.html#l00537">controlledPauliY()</a>, <a class="el" href="QuEST_8c_source.html#l00549">controlledPhaseFlip()</a>, <a class="el" href="QuEST_8c_source.html#l00499">controlledPhaseShift()</a>, <a class="el" href="QuEST_8c_source.html#l00588">controlledRotateAroundAxis()</a>, <a class="el" href="QuEST_8c_source.html#l00221">controlledRotateX()</a>, <a class="el" href="QuEST_8c_source.html#l00233">controlledRotateY()</a>, <a class="el" href="QuEST_8c_source.html#l00245">controlledRotateZ()</a>, <a class="el" href="QuEST_8c_source.html#l00270">controlledTwoQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00361">controlledUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00064">createCloneQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00050">createDensityQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00036">createQureg()</a>, <a class="el" href="QuEST__common_8c_source.html#l00576">densmatr_applyKrausSuperoperator()</a>, <a class="el" href="QuEST__common_8c_source.html#l00590">densmatr_applyMultiQubitKrausSuperoperator()</a>, <a class="el" href="QuEST__common_8c_source.html#l00582">densmatr_applyTwoQubitKrausSuperoperator()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03781">densmatr_calcExpecDiagonalOpLocal()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02249">densmatr_calcFidelity()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00053">densmatr_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00785">densmatr_collapseToKnownProbOutcome()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01919">densmatr_findProbabilityOfZero()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01815">densmatr_findProbabilityOfZeroKernel()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03151">densmatr_findProbabilityOfZeroLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01115">densmatr_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01154">densmatr_initPlusState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00725">densmatr_mixDamping()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00300">densmatr_mixDampingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00174">densmatr_mixDampingLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00698">densmatr_mixDepolarising()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00224">densmatr_mixDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00125">densmatr_mixDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00084">densmatr_mixTwoQubitDephasing()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00752">densmatr_mixTwoQubitDepolarising()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00541">densmatr_mixTwoQubitDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00387">densmatr_mixTwoQubitDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00488">densmatr_mixTwoQubitDepolarisingLocalPart1()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00632">densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00048">densmatr_oneQubitDegradeOffDiagonal()</a>, <a class="el" href="QuEST_8c_source.html#l00709">getDensityAmp()</a>, <a class="el" href="QuEST_8c_source.html#l00668">getNumQubits()</a>, <a class="el" href="QuEST_8c_source.html#l00177">hadamard()</a>, <a class="el" href="QuEST_8c_source.html#l00331">multiControlledMultiQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00561">multiControlledPhaseFlip()</a>, <a class="el" href="QuEST_8c_source.html#l00511">multiControlledPhaseShift()</a>, <a class="el" href="QuEST_8c_source.html#l00283">multiControlledTwoQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00374">multiControlledUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00297">multiQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00642">multiRotatePauli()</a>, <a class="el" href="QuEST_8c_source.html#l00626">multiRotateZ()</a>, <a class="el" href="QuEST_8c_source.html#l00389">multiStateControlledUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00433">pauliX()</a>, <a class="el" href="QuEST_8c_source.html#l00444">pauliY()</a>, <a class="el" href="QuEST_8c_source.html#l00455">pauliZ()</a>, <a class="el" href="QuEST_8c_source.html#l00488">phaseShift()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00458">qasm_recordInitClassical()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00060">qasm_setup()</a>, <a class="el" href="QuEST_8c_source.html#l00575">rotateAroundAxis()</a>, <a class="el" href="QuEST_8c_source.html#l00188">rotateX()</a>, <a class="el" href="QuEST_8c_source.html#l00199">rotateY()</a>, <a class="el" href="QuEST_8c_source.html#l00210">rotateZ()</a>, <a class="el" href="QuEST_8c_source.html#l00466">sGate()</a>, <a class="el" href="QuEST_8c_source.html#l00613">sqrtSwapGate()</a>, <a class="el" href="QuEST__common_8c_source.html#l00494">statevec_applyPauliSum()</a>, <a class="el" href="QuEST__common_8c_source.html#l00480">statevec_calcExpecPauliSum()</a>, <a class="el" href="QuEST_8c_source.html#l00601">swapGate()</a>, <a class="el" href="test__calculations_8cpp_source.html#l00554">TEST_CASE()</a>, <a class="el" href="QuEST_8c_source.html#l00477">tGate()</a>, <a class="el" href="utilities_8cpp_source.html#l00896">toQMatrix()</a>, <a class="el" href="utilities_8cpp_source.html#l01039">toQureg()</a>, <a class="el" href="QuEST_8c_source.html#l00257">twoQubitUnitary()</a>, <a class="el" href="QuEST_8c_source.html#l00349">unitary()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00346">validateAmpIndex()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00368">validateControl()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00677">validateDiagonalOp()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00495">validateMatchingQuregDims()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00624">validateMatchingQuregPauliHamilDims()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00408">validateMultiQubits()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00388">validateNumControls()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00384">validateNumTargets()</a>, <a class="el" href="QuEST__validation_8c_source.html#l00341">validateStateIndex()</a>, and <a class="el" href="QuEST__validation_8c_source.html#l00364">validateTarget()</a>.</p>

</div>
</div>
<a id="aba97773694870ef35e378c036f486bb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba97773694870ef35e378c036f486bb7">&#9670;&nbsp;</a></span>pairStateVec</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ComplexArray Qureg::pairStateVec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Temporary storage for a chunk of the state vector received from another process in the MPI version. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00224">224</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00543">compressPairVectorForSingleQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00610">compressPairVectorForTwoQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01482">copyDiagOpIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00371">copyVecIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu__local_8c_source.html#l00325">densmatr_applyDiagonalOp()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03696">densmatr_applyDiagonalOpLocal()</a>, <a class="el" href="QuEST__cpu__local_8c_source.html#l00075">densmatr_calcFidelity()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00990">densmatr_calcFidelityLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00452">densmatr_initPureState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01184">densmatr_initPureStateLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00300">densmatr_mixDampingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00224">densmatr_mixDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00541">densmatr_mixTwoQubitDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00632">densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00509">exchangePairStateVectorHalves()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00479">exchangeStateVectors()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00844">statevec_compactUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00920">statevec_controlledCompactUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01061">statevec_controlledNot()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01140">statevec_controlledPauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01173">statevec_controlledPauliYConj()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00958">statevec_controlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01317">statevec_destroyQureg()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01206">statevec_hadamard()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00997">statevec_multiControlledUnitary()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01034">statevec_pauliX()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01090">statevec_pauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01115">statevec_pauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03579">statevec_swapQubitAmpsDistributed()</a>, and <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00881">statevec_unitary()</a>.</p>

</div>
</div>
<a id="a6b7912365d7ad8ff9b986fcad0c6ca3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b7912365d7ad8ff9b986fcad0c6ca3a">&#9670;&nbsp;</a></span>qasmLog</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QASMLogger* Qureg::qasmLog</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Storage for generated QASM output. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00232">232</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST__qasm_8c_source.html#l00092">addStringToQASM()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00477">qasm_clearRecorded()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00500">qasm_free()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00484">qasm_printRecorded()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00223">qasm_recordAxisRotation()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00120">qasm_recordComment()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00195">qasm_recordCompactUnitary()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00300">qasm_recordControlledAxisRotation()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00264">qasm_recordControlledCompactUnitary()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00238">qasm_recordControlledGate()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00247">qasm_recordControlledParamGate()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00278">qasm_recordControlledUnitary()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00178">qasm_recordGate()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00458">qasm_recordInitClassical()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00430">qasm_recordInitPlus()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00415">qasm_recordInitZero()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00398">qasm_recordMeasurement()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00316">qasm_recordMultiControlledGate()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00324">qasm_recordMultiControlledParamGate()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00341">qasm_recordMultiControlledUnitary()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00362">qasm_recordMultiStateControlledUnitary()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00186">qasm_recordParamGate()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00207">qasm_recordUnitary()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00060">qasm_setup()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00084">qasm_startRecording()</a>, <a class="el" href="QuEST__qasm_8c_source.html#l00088">qasm_stopRecording()</a>, and <a class="el" href="QuEST__qasm_8c_source.html#l00489">qasm_writeRecordedToFile()</a>.</p>

</div>
</div>
<a id="a8bb9f7517470a0cc406951935f37b64f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bb9f7517470a0cc406951935f37b64f">&#9670;&nbsp;</a></span>secondLevelReduction</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__type.html#ga7740e349b4f8bae6451547680f0ce2d6">qreal</a> * Qureg::secondLevelReduction</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00229">229</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="QuEST__gpu_8cu_source.html#l03142">densmatr_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02249">densmatr_calcFidelity()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02323">densmatr_calcHilbertSchmidtDistance()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02043">densmatr_calcInnerProduct()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02394">densmatr_calcPurity()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l01919">densmatr_findProbabilityOfZero()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l03006">statevec_calcExpecDiagonalOp()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l02123">statevec_calcInnerProduct()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00275">statevec_createQureg()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00321">statevec_destroyQureg()</a>, and <a class="el" href="QuEST__gpu_8cu_source.html#l01967">statevec_findProbabilityOfZero()</a>.</p>

</div>
</div>
<a id="a441e4cacef6bd17adb9813c7442d42fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a441e4cacef6bd17adb9813c7442d42fe">&#9670;&nbsp;</a></span>stateVec</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ComplexArray Qureg::stateVec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computational state amplitudes - a subset thereof in the MPI version. </p>

<p class="definition">Definition at line <a class="el" href="QuEST_8h_source.html#l00222">222</a> of file <a class="el" href="QuEST_8h_source.html">QuEST.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="utilities_8cpp_source.html#l00701">areEqual()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00543">compressPairVectorForSingleQubitDepolarise()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00610">compressPairVectorForTwoQubitDepolarise()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00461">copyStateFromGPU()</a>, <a class="el" href="QuEST__gpu_8cu_source.html#l00451">copyStateToGPU()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00371">copyVecIntoMatrixPairState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03696">densmatr_applyDiagonalOpLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03781">densmatr_calcExpecDiagonalOpLocal()</a>, <a class="el" href="QuEST__cpu__local_8c_source.html#l00075">densmatr_calcFidelity()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00990">densmatr_calcFidelityLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00923">densmatr_calcHilbertSchmidtDistanceSquaredLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00958">densmatr_calcInnerProductLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00861">densmatr_calcPurityLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00053">densmatr_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03151">densmatr_findProbabilityOfZeroLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01115">densmatr_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01154">densmatr_initPlusState()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00452">densmatr_initPureState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01184">densmatr_initPureStateLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00300">densmatr_mixDampingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00174">densmatr_mixDampingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00890">densmatr_mixDensityMatrix()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00224">densmatr_mixDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00125">densmatr_mixDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00084">densmatr_mixTwoQubitDephasing()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00541">densmatr_mixTwoQubitDepolarisingDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00387">densmatr_mixTwoQubitDepolarisingLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00488">densmatr_mixTwoQubitDepolarisingLocalPart1()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00632">densmatr_mixTwoQubitDepolarisingQ1LocalQ2DistributedPart3()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00048">densmatr_oneQubitDegradeOffDiagonal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00479">exchangeStateVectors()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l00744">normaliseSomeAmps()</a>, <a class="el" href="QuEST__common_8c_source.html#l00216">reportState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03661">statevec_applyDiagonalOp()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03738">statevec_calcExpecDiagonalOpLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01071">statevec_calcInnerProductLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00088">statevec_calcTotalProb()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01506">statevec_cloneQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03462">statevec_collapseToKnownProbOutcomeDistributedRenorm()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03380">statevec_collapseToKnownProbOutcomeLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03501">statevec_collapseToOutcomeDistributedSetZero()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00844">statevec_compactUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01688">statevec_compactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01675">statevec_compareStates()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00920">statevec_controlledCompactUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02101">statevec_controlledCompactUnitaryLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01061">statevec_controlledNot()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02584">statevec_controlledNotLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01140">statevec_controlledPauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01173">statevec_controlledPauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02776">statevec_controlledPauliYLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03300">statevec_controlledPhaseFlip()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03019">statevec_controlledPhaseShift()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00958">statevec_controlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02241">statevec_controlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01279">statevec_createQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01317">statevec_destroyQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03262">statevec_findProbabilityOfZeroDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03206">statevec_findProbabilityOfZeroLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00208">statevec_getImagAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00198">statevec_getRealAmp()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01206">statevec_hadamard()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02872">statevec_hadamardLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01398">statevec_initBlankState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01470">statevec_initClassicalState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01591">statevec_initDebugState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01438">statevec_initPlusState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01625">statevec_initStateFromSingleFile()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01545">statevec_initStateOfSingleQubit()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01428">statevec_initZeroState()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01846">statevec_multiControlledMultiQubitUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03331">statevec_multiControlledPhaseFlip()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03059">statevec_multiControlledPhaseShift()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01747">statevec_multiControlledTwoQubitUnitaryLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00997">statevec_multiControlledUnitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02173">statevec_multiControlledUnitaryLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03109">statevec_multiRotateZ()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01034">statevec_pauliX()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02498">statevec_pauliXLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01090">statevec_pauliY()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l01115">statevec_pauliYConj()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02682">statevec_pauliYLocal()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l02978">statevec_phaseShiftByTerm()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01366">statevec_reportStateToScreen()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01237">statevec_setAmps()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03619">statevec_setWeightedQureg()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03579">statevec_swapQubitAmpsDistributed()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l03536">statevec_swapQubitAmpsLocal()</a>, <a class="el" href="QuEST__cpu__distributed_8c_source.html#l00881">statevec_unitary()</a>, <a class="el" href="QuEST__cpu_8c_source.html#l01932">statevec_unitaryLocal()</a>, <a class="el" href="test__data__structures_8cpp_source.html#l00601">TEST_CASE()</a>, <a class="el" href="utilities_8cpp_source.html#l00896">toQMatrix()</a>, <a class="el" href="utilities_8cpp_source.html#l01026">toQureg()</a>, <a class="el" href="utilities_8cpp_source.html#l00938">toQVector()</a>, and <a class="el" href="QuEST__cpu_8c_source.html#l00734">zeroSomeAmps()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="QuEST_8h_source.html">QuEST.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
</body>
        <script type="text/javascript" src="boot.js"></script>
</html>
